Package com.cisco.pt.ipc.sim.pdu.impl
Class OSPFLSRImpl
java.lang.Object
com.cisco.pt.ipc.impl.IPCDataImpl
com.cisco.pt.ipc.sim.pdu.impl.SignalImpl
com.cisco.pt.ipc.sim.pdu.impl.PduImpl
com.cisco.pt.ipc.sim.pdu.impl.OSPFLSRImpl
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected IPAddressprotected booleanprotected IPAddressprotected Byteprotected ShortFields inherited from class com.cisco.pt.ipc.sim.pdu.impl.SignalImpl
fieldNames, fieldTable, signalType, typeTable -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidencodeTypeAndPayload(EncodedBuffer buffer) getFieldType(String fieldName) booleangetLsId()voidpduRead(EncodedBuffer buffer) voidread(EncodedBuffer buffer) Reads this object from an EncodedBuffer of raw datavoidsetAdvertisingRouter(IPAddress advertisingRouter) voidsetIsOspfv3(boolean isOspfv3) voidvoidvoidsetOspfv3LsType(Short ospfv3LsType) Methods inherited from class com.cisco.pt.ipc.sim.pdu.impl.SignalImpl
getFieldValueMethods inherited from class com.cisco.pt.ipc.impl.IPCDataImpl
checkType, pduReadBoolean, pduReadByte, pduReadDouble, pduReadFloat, pduReadInt, pduReadIPAddress, pduReadIPCData, pduReadIPV6Address, pduReadLong, pduReadMACAddress, pduReadPair, pduReadQString, pduReadShort, pduReadString, pduReadUUID, pduReadVector, readBoolean, readByte, readDouble, readFloat, readInt, readIPAddress, readIPCData, readIPV6Address, readLong, readMACAddress, readPair, readQString, readShort, readString, readUUID, readVectorMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.cisco.pt.ipc.sim.pdu.Signal
getFieldValue
-
Field Details
-
lsType
-
ospfv3LsType
-
lsId
-
advertisingRouter
-
isOspfv3
protected boolean isOspfv3
-
-
Constructor Details
-
OSPFLSRImpl
public OSPFLSRImpl()
-
-
Method Details
-
getLsType
-
setLsType
-
getOspfv3LsType
- Specified by:
getOspfv3LsTypein interfaceOSPFLSR- Returns:
- Short Returns a Short
-
setOspfv3LsType
- Specified by:
setOspfv3LsTypein interfaceOSPFLSR- Parameters:
ospfv3LsType- Takes in a parameter of ospfv3LsType
-
getLsId
-
setLsId
-
getAdvertisingRouter
- Specified by:
getAdvertisingRouterin interfaceOSPFLSR- Returns:
- IPAddress Returns a IPAddress
-
setAdvertisingRouter
- Specified by:
setAdvertisingRouterin interfaceOSPFLSR- Parameters:
advertisingRouter- Takes in a parameter of advertisingRouter
-
getIsOspfv3
public boolean getIsOspfv3()- Specified by:
getIsOspfv3in interfaceOSPFLSR- Returns:
- boolean Returns a boolean
-
setIsOspfv3
public void setIsOspfv3(boolean isOspfv3) - Specified by:
setIsOspfv3in interfaceOSPFLSR- Parameters:
isOspfv3- Takes in a parameter of isOspfv3
-
getFieldType
- Overrides:
getFieldTypein classPduImpl
-
read
Reads this object from an EncodedBuffer of raw data -
pduRead
-
getOrderedFieldNames
- Specified by:
getOrderedFieldNamesin interfaceSignal- Overrides:
getOrderedFieldNamesin classPduImpl
-
encodeTypeAndPayload
- Specified by:
encodeTypeAndPayloadin interfaceSignal- Overrides:
encodeTypeAndPayloadin classPduImpl
-